# -*- coding: UTF-8 -*-
'''
Created on 2012-6-21

@author: Administrator
'''
'''def printMax(a, b):
    if(a > b):
        print a, 'is maxmun'
    else:
        print b, 'is maxmun'
printMax(3, 4)
x = 5
y = 6
printMax(x, y)'''
def func():
    print 'x is ',x 
    global x
    x=2
    print id(x)
    print 'Chanaged local x to ',x
x=50
print id(x)
func()
print 'x is still',x
